﻿using Samurai.Wakizashi.Workflow;
using Samurai.WorkflowGraph.ViewModels;

namespace Samurai.WorkflowGraph.Models
{
    public class Link : LinkViewModelBase<WorkflowStepNode>
    {
        public Link(WorkflowStepNode source, WorkflowStepNode target, ThreadType thread) : base(source, target)
        {
            Thread = thread;
        }

        public ThreadType Thread { get; set; }

        public override string ToString()
        {
            return string.Format("{0} Thread", Thread);
        }
    }
}
